'Declaration
Public Function AddSection(Of TObjectBuilder As {New, GdPictureOfficeTemplateBuilder(Of TObjectBuilder)})( _ ByVal sectionName As String, _ ByVal ParamArray arrayOfObjects() As Action(Of TObjectBuilder) _ ) As T
public T AddSection<TObjectBuilder>( string sectionName, params Action<TObjectBuilder>[] arrayOfObjects ) where TObjectBuilder: new(), GdPictureOfficeTemplateBuilder<TObjectBuilder>
public function AddSection( sectionName: String; params arrayOfObjects: Actionarray of ): T;
public function AddSection( sectionName : String, arrayOfObjects : Action[] ) : T;
public: T* AddSection<TObjectBuilder>( string* sectionName, params Action<TObjectBuilder*>*[]* arrayOfObjects ) where TObjectBuilder: gcnew(), GdPictureOfficeTemplateBuilder<TObjectBuilder>
public: T^ AddSectiongeneric<typename TObjectBuilder> ( String^ sectionName, ... array<Action<TObjectBuilder^>^>^ arrayOfObjects ) where TObjectBuilder: gcnew(), GdPictureOfficeTemplateBuilder<TObjectBuilder>
Parameters
- sectionName
- The name of the section.
- arrayOfObjects
- An array of actions to build objects within the section.
Type Parameters
- TObjectBuilder
- The type of the object builder for the section.
Return Value
The template builder instance.